avcodec/hevc_ps: Check chroma_format_idc
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 5 Nov 2015 12:52:33 +0000 (13:52 +0100)
committerMike Gabriel <sunweaver@debian.org>
Sat, 31 Aug 2019 15:36:55 +0000 (16:36 +0100)
commit886ed67beec2373000dbb5f2151c7456ffea4f38
treebe8a4a375b538a781768921dc6ccfdf1adfcc2df
parent40fc2b9ca513e74162ead49a5372741ef23cf0b0
avcodec/hevc_ps: Check chroma_format_idc

avcodec/hevc_ps: Check chroma_format_idc

Fixes out of array access
Fixes: 24d05e8b84676799c735c9e27d97895e/asan_heap-oob_1b70f6a_2955_7c3652a7f370f9f3ef40642bc2c99bb2.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
[sunweaver] Ported to libav 11.12 in Debian jessie LTS.

Gbp-Pq: Name CVE-2015-8217.patch
libavcodec/hevc_ps.c